package com.bdqn.membersystem.mapper;

import com.bdqn.membersystem.pojo.UserBuyBonus;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserBuyBonusMapper {
    int deleteByPrimaryKey(String buyBonusId);

    int insertSelective(UserBuyBonus record);

    UserBuyBonus selectByPrimaryKey(String buyBonusId);

    int updateByPrimaryKeySelective(UserBuyBonus record);

    int updateBatch(List<UserBuyBonus> list);

    int batchInsert(@Param("list") List<UserBuyBonus> list);

    int insertOrUpdate(UserBuyBonus record);

    int insertOrUpdateSelective(UserBuyBonus record);
}